package in.muton.edushare.imageProcessor.processingAPI;

public interface IProcessingAPIWrapper {
	
	void loadFileFromPath(String absPath);
	int getOrigWidth();
	int getOrigHeight();
	void scaleImage(int finalWidth, int finalHeight);
	void cropImage(int cropX, int cropY, int cropRectWidth, int cropRectHeight);
	void saveImage(String absNewFilePath);
	
	/**
	 * Resets the processing state to start. This is for restarting new processing sequence on the already loaded image.
	 * You should, ideally, load the image once, apply processes, save and restart instead of instanciating the class again and again.
	 * NOTE: the original file is still loaded.
	 */
	void startNewProcessing();
}
